﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpressionPractices.Model;
using ExpressionPractices.Requests;

namespace ExpressionPractices.ISqlServices
{
    public interface IHomeWorkServices
    {
        /// <summary>
        /// 查找用户
        /// </summary>
        List<T_User> GetUsers();

        /// <summary>
        /// 更新用户
        /// </summary>
        bool UpdateUsers(List<T_User> users);

        /// <summary>
        /// 删除用户
        /// </summary>
        bool DeleteUsers(UserRequest request);

        /// <summary>
        /// 添加用户
        /// </summary>
        bool AddUsers(List<T_User> users);
    }
}
